import { get, post } from '../utils/request'

// 获取专家列表
export const getExpertList = (params) => {
  return get('/expert/list', params)
}

// 查看专家详情
export const getExpertInfo = (expertId) => {
  return get('/expert/info/' + expertId)
}

// 查看专家主页
export const getExpertMain = (expertId) => {
  return get('/expert/profile/' + expertId)
}

// 查询标签列表
export const getSpecialtyTag = () => {
  return get('/specialtyTag/list')
}


// 查询标签Tree
export const getSpecialtyTagTree = () => {
  return get('/specialtyTag/tree')
}
